<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>成绩查询</title>
    <link rel="stylesheet" href="../static/css/header.css" type="text/css">
    <link rel="stylesheet" href="../static/css/stuIndex.css" type="text/css">
</head>
<body>
<div class="header">
    <div class="header-title">
        <div class="header-title-logo">
        </div>
        <div class="header-title-body">
            <h2>教务管理系统</h2>
        </div>
        <div class="header-title-quit">
            <a href="/login">安全退出</a>
        </div>
        <div class="header-title-person">
            <a href="">
                <img id="person-img" th:title="${userID}" src="../static/images/a0.jpg"/>
            </a>
        </div>
    </div>
</div>
<div class="student-title-search">
    <div class="stu-title-search">
        <input id="stu-search-text" type="text" placeholder="请输入搜索关键字"/>
        <div onclick="toHeader()">
            搜索
        </div>
    </div>
</div>
<div class="stu-score-main">
    <div class="stu-score-body">
        <table id="stu-score-table">
            <thead>
            <tr>
                <th>课程ID</th>
                <th>课程名称</th>
                <th>授课老师</th>
                <th>学生成绩</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="score,index1:${scoreList}">
                <td th:text="${score.getCourseID()}"></td>
                <td th:text="${courseList[index1.index]}"></td>
                <td th:text="${teacherList[index1.index]}"></td>
                <td th:text="${score.getScore()}"></td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>